<template>
  <div class="block">
<!--    <span class="demonstration">页数较少时的效果</span>
    <el-pagination
      layout="prev, pager, next"
      :total="50">
    </el-pagination>-->
<!--    <el-pagination
      background
      layout="prev, pager, next"
      :total="1000">
    </el-pagination>-->
    <span class="demonstration">完整功能</span>
    <el-pagination
      @size-change="handleSizeChange"
      @current-change="handleCurrentChange"
      :current-page="currentPage4"
      :page-sizes="[100, 200, 300, 400]"
      :page-size="100"
      layout="total, sizes, prev, pager, next, jumper"
      :total="400">
    </el-pagination>
  </div>
</template>

<script>
export default {
  data () {
    return {}
  },
  methods: {
    handleSizeChange (vel) {
      alert('dsfsdf')
    },
    handleCurrentChange (vel) {
      alert('刘综艺')
    }
  }
}
</script>

<style scoped>

</style>
